cmake_minimum_required(VERSION 3.21)
project(vehicleUDP)

set(CMAKE_CXX_STANDARD 14)


#libhv
set(LIBHV_DIR third/libhv)
add_subdirectory(${LIBHV_DIR})


#asn2c
set(ASN2C_DIR third/asn2c)
add_subdirectory(${ASN2C_DIR})
add_executable(vehicleUDP main.cpp third/cmdline.h)
#carhv
target_link_libraries(vehicleUDP asn2c hv)
SET_TARGET_PROPERTIES (vehicleUDP PROPERTIES RUNTIME_OUTPUT_DIRECTORY "bin")


